const db = require('../db/index')

//上传图片
exports.uploadimg=(req,res)=>{
  const imgUrl = '/upload/'+req.file.filename
  let show = {
    code:200,
    url:imgUrl
  }
  res.json(show)
}


